package com.hsogoo.collate;

import com.hsogoo.collate.redis.EnableRedisClient;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication(scanBasePackages = "com.hsogoo.collate", exclude={BatchAutoConfiguration.class} )
@ImportResource({"classpath*:spring/*.xml"})
@MapperScan("com.hsogoo.collate.mapper")
@EnableAspectJAutoProxy
@EnableRedisClient
public class CollateApplication {

	public static void main(String[] args) {
		SpringApplication.run(CollateApplication.class, args);
	}

}
